<!doctype html>
<html>

<head>
  <meta charset="UTF-8" />
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="format-detection" content="telephone=no">
  <title>添加机构</title>
  <link href="../../css/global.css" rel="stylesheet" type="text/css">
</head>
<style>
  .form .label,
  .info .label {
    float: left;
    width: 150px;
    height: 34px;
    line-height: 34px;
    text-align: right;
    color: #747474;
    font-size: 14px;
  }

  .btns {
    display: block;
    width: 300px;
    height: 40px;
    line-height: 40px;
  }

  .addForm ul {
    padding-left: 150px;
    font-size: 0;
  }

  .addForm ul li {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
  }

  .icon-remove {
    cursor: pointer;
    color: red;
  }

  .second select {
    height: 106px;
    outline: none;
    border: 1px solid #999;
    position: absolute;
    left: 0;
    top: 40px;
    z-index: 100;
  }

  .second ul {
    position: absolute;
    top: 27px;
    border: 1px solid #999;
    left: 8px;
    width: 125px;
    line-height: 16px;
  }

  .ul li {
    list-style: none;
    width: 161px;
    /* left: 15px; */
    margin-left: -40px;
    font-family: 微软雅黑;
    padding-left: 4px;
  }

  .blue {
    background: #1e91ff;
  }
</style>

<body>
  <div class="whiteboard"></div>
  <!--栏目列表-->
  <div class="left_menu">
    <div class="sub"> </div>
  </div>
  <!--/栏目列表-->
  <div class="right_con">
    <div class="card">
      <div class="title"><span>创建</span>
        <div class="cfr">
          <div class="tico full"><i class="iconfont icon-quanping"></i> </div>
        </div>
      </div>
      <div class="tipbox"> </div>
      <div class="infoBox">
        <div class="boxs">
          <!--基本信息-->
          <div class="box">
            <div class="form" id="form" ly-get="{{gateUrl}}/back/scenicManagement/insertOrUpdateScenicInfo">
              <div class="row" gutter="10">
                <div class="label"><em>*</em>分类：</div>
                <div class="col-7">
                  <div style="display: inline-block;" id="organType" name="organType" ly-bind="organType"></div>
                  <span class="rad" style="display: none;" id="isBrigade">
                    <input type="checkbox" name="" id="" checked disabled> 市文旅委
                  </span>
                </div>
              </div>
              <div class="row" gutter="10" id="resources" style="display: none;">
                <div class="label">应急文旅资源：</div>
                <input type="checkbox" style="visibility: hidden;" id="emergency">
                <span style="color: #aaaaaa; position: relative; top: 5px;" id="emergencyId"></span>
                <div class="second col-7" style="width: 25%;">
                  <input type="text" name="makeupCo" id="makeupCo" class="makeinp ipt" onfocus="setfocus(this)"
                    oninput="setinput(this);" placeholder="请选择" />
                  <select class="ipt" name='resources' name="makeupCoSe" id="typenum" size="10" style="display:none;"
                    onchange="resourcesChange(this)">
                  </select>
                </div>
              </div>
              <div class="row" gutter="10">
                <div class="label"><em>*</em>机构名称：</div>
                <div class="col-7">
                  <input type="text" name='scenicName' id="scenicName" class="ipt required" placeholder="未填写"
                    data-tip="请输入机构名字" data-valid="isNonEmpty" data-error="机构名字不能为空" ly-bind="scenicName">
                </div>
              </div>
              <div class="row" gutter="10">
                <div class="label"><em>*</em>机构账号：</div>
                <div class="col-7">
                  <input type="text" id="account" name="account" class="ipt required" placeholder="未填写"
                    data-tip="机构管理员账号" data-valid="isNonEmpty" data-error="机构账号不能为空" ly-bind="account">
                </div>
              </div>
              <!-- <div class="row" gutter="10">
									<div class="label"><em>*</em>机构管理员姓名：</div>
									<div class="col-7">
                                        <input type="text" id="adminName" name="adminName" class="ipt required" placeholder="请输入机构管理员姓名" data-tip="机构管理员姓名" data-valid="isNonEmpty" data-error="机构管理员姓名不能为空" ly-bind="adminName">
									</div>
								</div> -->
              <div class="row" gutter="10">
                <div class="label"><em>*</em>账号密码：</div>
                <div class="col-7">
                  <input type="text" id="password" name="password" class="ipt required" placeholder="未填写"
                    data-tip="机构管理员密码" data-valid="isNonEmpty||between:6-20" maxlength="20"
                    data-error="账号密码不能为空||账号密码必须在6-20之间" ly-bind="password">
                </div>
              </div>
              <div class="row" gutter="10">
                <div class="label"><em>*</em>公司名称：</div>
                <div class="col-7">
                  <input type="text" name='corpName' id="corpName" class="ipt required" placeholder="未填写"
                    data-tip="请输入公司名字" data-valid="isNonEmpty" data-error="公司名字不能为空" ly-bind="corpName">
                </div>
              </div>
              <div class="row" gutter="10">
                <div class="label">联系电话：</div>
                <div class="col-7">
                  <input type="text" name='phone' id="phone" maxlength="11" class="ipt" placeholder="未填写"
                    data-tip="请输入手机号" data-valid="isNonEmpty||isMobile" data-error="手机号不能为空||请正确输入手机号" ly-bind="phone">
                </div>
              </div>
              <!-- <div class="row" gutter="10">
									<div class="label"><em>*</em>身份证号：</div>
									<div class="col-7">
										<input type="text" id="identityCard" name="identityCard" class="ipt required" maxlength="18" placeholder="请输入身份证号" data-tip="请输入身份证号" data-valid="isNonEmpty||isCardNo" data-error="身份证号不能为空||请正确输入身份证号" ly-bind="identityCard">
									</div>
								</div> -->

              <!-- <div class="row" gutter="10">
									<div class="label"><em>*</em>性别：</div>
									<div class="col-7">
										<div id="sex" name="sex" ly-bind="sex"></div>
									</div>
								</div> -->
              <div class="row" gutter="10" id="province">
                <div class="label"><em>*</em>省份：</div>
                <div class="col-7">
                  <select class="required ipt" id="provincedata" name='provincedata' onchange="getcity()"
                    ly-type="select" placeholder="未选择" data-tip="请选择省" data-valid="isNonEmpty" data-error="省不能为空">
                    <option value="">请选择</option>
                  </select>
                </div>
              </div>
              <div class="row" gutter="10" id="city">
                <div class="label"><em>*</em>市：</div>
                <div class="col-7">
                  <select class="required ipt" id="citydata" name='citydata' onchange="getArea()" ly-type="select"
                    placeholder="未选择" data-tip="请选择市" data-valid="isNonEmpty" data-error="市不能为空">
                    <option value="">请选择</option>
                  </select>
                </div>
              </div>
              <div class="row" gutter="10" id="Area">
                <div class="label"><em>*</em>区：</div>
                <div class="col-7">
                  <select id="districtId" name="districtId" class="required ipt" ly-type="select" placeholder="未选择"
                    data-tip="请选择区县" data-valid="isNonEmpty" data-error="区县不能为空">
                    <option value="">请选择</option>
                  </select>

                </div>
              </div>
              <div class="addForm">
                <div class="label">设备编号：</div>
                <div class="btns">
                  <div class="tico"><i class="iconfont icon-add1" onclick="add()"></i></div>
                </div>
                <!-- 设备编号添加容器 -->
                <ul id="addDom">
                  <li>
                    <input class="ipt" placeholder="请输入设备号" type="text">
                    <i class="iconfont icon-remove" onclick="del(this)"></i>
                  </li>
                </ul>
              </div>
            </div>
          </div>
          <div class="btnBox">
            <div class="fr">
              <button class="btn red save-btn" id="save_btn">保存</button>
              <button class="btn red save-btn" id="Re-apply">重新申请</button>
              <button class="btn" onclick="javascript:window.history.go(-1);">返回</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
<script id="jquery_js" src="../../js/jquery-1.11.1.min.js"></script>
<script id="config_js" src="../../js/config.js"></script>
<script id="ly_main_js" src="../../js/ly_main.js"></script>
<script id="valid" src="../../js/jquery-validate.js?v=1"></script>
<script src="../../js/common.js"></script>
<script src="../../js/input-select.js"></script>
<script type="text/javascript" src="../../js/mechanism/add-mechanism.js?v=12"></script>

</html>